package com.xal.pojo.entiey;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: Swagger
 * @author: 邢奥林
 * @create: 2023-04-15 17:19
 **/
@Data
@NoArgsConstructor
@ToString
@ApiModel(value = "班级接口")
public class School {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "班级编号")
    private Integer cid;
    /**
     *
     */

    @ApiModelProperty(value = "班级名称")
    private String cname;

    public School(Integer cid, String cname) {
        this.cid = cid;
        this.cname = cname;
    }
}
